import request from '@/utils/request'

const prefixUrl = 'web/saleWeekTarget'

// 销售添加每周目标
export function add(data) {
  return request({
    url: prefixUrl + '/add',
    method: 'post',
    content_type: 'json',
    data
  })
}

// 查询周数据
export function queryWeekList(params) {
  return request({
    url: prefixUrl + '/queryWeekList',
    method: 'get',
    params
  })
}
